package com.ljf.framework.security.token;

/**
 * 说明：Token的Key常量
 *
 * @Auther: lijinfeng
 * @Date: 2022/11/7
 */
public class LjfTokenConstants {

    /**
     * 令牌自名称
     */
    public static final String TOKEN_NAME = "LJF-TOKEN";

    /**
     * 令牌自定义标识
     */
    public static final String AUTHENTICATION = "Authorization";

    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public final static String SECRET = "abcdefghijklmnopqrstuvwxyz";

    /**
     * 常量key标记: 如果token为本次请求新创建的，则以此字符串为key存储在当前request中
     */
    public static final String JUST_CREATED = "just_created_";
}
